package net.xdclass.onlinexdclass;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableCaching      //开启缓存
@EnableScheduling  //开始定时任务
@EnableTransactionManagement //开始事务
@EnableAdminServer //开启可视化监控监控
public class OnlinexdclassApplication {

    public static void main(String[] args) {
        SpringApplication.run(OnlinexdclassApplication.class, args);
    }

}
